//
//  PSNamedLinkedElement.h
//  PrefCore
//
//  Created by Sergey on 5/8/14.
//  Copyright (c) 2014 Play-on-smart. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "PSLinkedList.h"

@interface PSNamedLinkedElement : NSObject <PSListEntry>

@property (nonatomic, readonly) NSString* name;

@property (nonatomic, readwrite) PSNamedLinkedElement *next;

@property (nonatomic, readwrite) PSNamedLinkedElement *previous;

+(instancetype)entryWithName:(NSString*)name;

-(instancetype)initWithName:(NSString*)name;

-(void)dealloc;

-(NSString*)description;

+(uint32_t)totalCount;

@end
